home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1999 March / EnigmA AMIGA RUN 35 (1999)(G.R. Edizioni)(IT)[!][issue 1999-03].iso / earcd / devel / wild / appunti / saver.txt < prev    next >
Text File  |  1999-01-01  |  986b  |  22 lines

  1. Saver module design.
  2.  
  3. It's the complement of Loader. It will be used mainly for editing funcs, so the
  4. objs simple editors will use it. Maybe also useful as object-converter Wild use,
  5. but that's a future thing.
  6.  
  7. Funcs: the complements of the Loader.
  8.  
  9. SaveWildObject will call SaverModule and will ask:
  10.  
  11. NewObject(type,prec,parent): Will make a new object. Objects are linked themself
  12.                              by a list, if they are brother. If no prec specified,
  13.                              no brothers. If parent is specified, link to it and
  14.                              allocate new memory from parent's pool.
  15. SaveObject(...): Will save on file the object created and filled previously.
  16. SetObjectAttr(obj,attr,value): Will set an object's property.
  17. OriginalObject(obj) returns the original Wild object from the Saver's object.
  18. PrivateObject(wobj) returns the private object for the Wild's one.
  19. FreeObject(obj)  Frees the object and all the childs. (POOLS ARE STRONGLY ADVICED!)
  20.  
  21.  
  22.